using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class MdProductdetailTable : TableInfo
{
public const string C_TABLENAME = "Md_Productdetail";

public const string C_PRODUCTDETAILID = "PRODUCTDETAILID";

public const string C_PRODUCTID = "PRODUCTID";

public const string C_LASTCHANGEDATE = "LASTCHANGEDATE";

public const string C_TECHATTACHMENTID = "TECHATTACHMENTID";

public const string C_MAPATTACHMENTID = "MAPATTACHMENTID";

public MdProductdetailTable()
{
_tableName = "Md_Productdetail";
}

protected static MdProductdetailTable _current;
public static MdProductdetailTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new MdProductdetailTable();

_current.Add(C_PRODUCTDETAILID, new ColumnInfo(C_PRODUCTDETAILID, "", true, typeof(Decimal?)));

_current.Add(C_PRODUCTID, new ColumnInfo(C_PRODUCTID, "", false, typeof(String)));

_current.Add(C_LASTCHANGEDATE, new ColumnInfo(C_LASTCHANGEDATE, "", false, typeof(DateTime?)));

_current.Add(C_TECHATTACHMENTID, new ColumnInfo(C_TECHATTACHMENTID, "", false, typeof(String)));

_current.Add(C_MAPATTACHMENTID, new ColumnInfo(C_MAPATTACHMENTID, "", false, typeof(String)));

}

public ColumnInfo PRODUCTDETAILID
{
get { return this[C_PRODUCTDETAILID]; }
}

public ColumnInfo PRODUCTID
{
get { return this[C_PRODUCTID]; }
}

public ColumnInfo LASTCHANGEDATE
{
get { return this[C_LASTCHANGEDATE]; }
}

public ColumnInfo TECHATTACHMENTID
{
get { return this[C_TECHATTACHMENTID]; }
}

public ColumnInfo MAPATTACHMENTID
{
get { return this[C_MAPATTACHMENTID]; }
}

}
}